package a02op_extends.a04test1;

public class Manager extends Employes{
    private double bouns;
    //空参构造
    public Manager() {
    }
    //全部参数哦的构造
    public Manager(String id, String name, double salary, double bouns) {
        super(id, name, salary);
        this.bouns = bouns;
    }

    /**
     * 获取
     * @return bouns
     */
    public double getBouns() {
        return bouns;
    }

    /**
     * 设置
     * @param bouns
     */
    public void setBouns(double bouns) {
        this.bouns = bouns;
    }

    @Override
    public void work() {
        System.out.println("管理其他人");
    }
}
